﻿#ifndef SUBWINDOW_IMAGE_H
#define SUBWINDOW_IMAGE_H

#include <QMdiSubWindow>
#include <QGraphicsScene>
#include "canvasdesktop.h"

namespace Ui {
class SubWindow_Image;
}

class SubWindow_Image : public QMdiSubWindow
{
    Q_OBJECT

public:
    explicit SubWindow_Image(QGraphicsScene* scene,QWidget *parent = nullptr);
    ~SubWindow_Image();
    CanvasDesktop* GetView();
    QGraphicsScene* GetScene();
private:
    Ui::SubWindow_Image *ui;
    static int m_num;
    QGraphicsScene *m_pScene;
    CanvasDesktop* m_pView;
};

#endif // SUBWINDOW_IMAGE_H
